From 4535adf5137f85f40d08cbba560eec484d7049ee Mon Sep 17 00:00:00 2001 From: "cl349@freefall.cl.cam.ac.uk" Date: Mon, 25 Oct 2004 17:24:26 +0000 Subject: [PATCH] bitkeeper revision 1.1159.1.273 (417d36caN439v0H29iR_yjTvAOKJ1A) Update to Linux 2.6.9. --- .rootkeys | 1 + .../include/asm-xen/asm-i386/mach-xen/bios_ebda.h | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 linux-2.6.9-xen-sparse/include/asm-xen/asm-i386/mach-xen/bios_ebda.h diff --git a/.rootkeys b/.rootkeys index 15d72abcfa..c455de733d 100644 --- a/.rootkeys +++ b/.rootkeys @@ -213,6 +213,7 @@ 40f5623akIoBsQ3KxSB2kufkbgONXQ linux-2.6.9-xen-sparse/include/asm-xen/asm-i386/fixmap.h 4118b6a418gnL6AZsTdglC92YGqYTg linux-2.6.9-xen-sparse/include/asm-xen/asm-i386/highmem.h 40f5623aJVXQwpJMOLE99XgvGsfQ8Q linux-2.6.9-xen-sparse/include/asm-xen/asm-i386/io.h +417d36c6TD52EqC__mHeIj9CHnuEjA linux-2.6.9-xen-sparse/include/asm-xen/asm-i386/mach-xen/bios_ebda.h 40f5623am9BzluYFuV6EQfTd-so3dA linux-2.6.9-xen-sparse/include/asm-xen/asm-i386/mach-xen/do_timer.h 40f5623adZQ1IZGPxbDXONjyZGYuTA linux-2.6.9-xen-sparse/include/asm-xen/asm-i386/mach-xen/io_ports.h 40f5623aKXkBBxgpLx2NcvkncQ1Yyw linux-2.6.9-xen-sparse/include/asm-xen/asm-i386/mach-xen/irq_vectors.h diff --git a/linux-2.6.9-xen-sparse/include/asm-xen/asm-i386/mach-xen/bios_ebda.h b/linux-2.6.9-xen-sparse/include/asm-xen/asm-i386/mach-xen/bios_ebda.h new file mode 100644 index 0000000000..9cbd9a668a --- /dev/null +++ b/linux-2.6.9-xen-sparse/include/asm-xen/asm-i386/mach-xen/bios_ebda.h @@ -0,0 +1,15 @@ +#ifndef _MACH_BIOS_EBDA_H +#define _MACH_BIOS_EBDA_H + +/* + * there is a real-mode segmented pointer pointing to the + * 4K EBDA area at 0x40E. + */ +static inline unsigned int get_bios_ebda(void) +{ + unsigned int address = *(unsigned short *)phys_to_virt(0x40E); + address <<= 4; + return address; /* 0 means none */ +} + +#endif /* _MACH_BIOS_EBDA_H */ -- 2.30.2